package com.tocici.domain.vo;

import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import com.tocici.domain.User;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 用户视图对象 user
 *
 * @author zeratul
 * @date 2025-03-02
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = User.class)
public class UserVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long userId;

    /**
     * 用户名
     */
    @ExcelProperty(value = "用户名")
    private String username;

    private String password;

    /**
     * 手机
     */
    @ExcelProperty(value = "手机")
    private String phone;

    /**
     * 头像地址
     */
    @ExcelProperty(value = "头像地址")
    private Long avatarUrl;

    /**
     * 头像地址Url
     */
    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "avatarUrl")
    private String avatarUrlUrl;
    /**
     * 昵称
     */
    @ExcelProperty(value = "昵称")
    private String nickname;

    /**
     * 性别;0-男、1-女
     */
    @ExcelProperty(value = "性别;0-男、1-女")
    private Integer gender;

    /**
     * 简介
     */
    @ExcelProperty(value = "简介")
    private String info;


    @ExcelProperty(value = "地域")
    private String area;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long isDeleted;


}
